package com.xmut.mall.order.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmut.mall.order.dto.OrderComplaintSearchParams;
import com.xmut.mall.order.entity.OrderComplaintEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * 
 * @author 1912120131suntingxing
 * @email 1192081604@qq.com
 * @date 2023-02-05 04:48:13
 */
@Mapper
public interface OrderComplaintDao extends BaseMapper<OrderComplaintEntity> {

    /**
     * 获取订单投诉的分页数据
     * @param initPage
     * @param params
     * @return
     */
    IPage<OrderComplaintEntity> getOrderComplaintByPage(Page<Object> initPage,@Param("params") OrderComplaintSearchParams params);
}
